import request from '@/utils/encryptionRequest';

// 社区奖励首页数据
export function shequIndex(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/shequIndex.do',
    data,
    opt,
  });
}

// 社区奖励列表
export function shequRank(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/shequRank.do',
    data,
    opt,
  });
}

// 质押转入
export function zhiya(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/zhiya.do',
    data,
    opt,
  });
}

// 转入明细列表
export function myZhiya(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/myZhiya.do',
    data,
    opt,
  });
}

// 转出
export function shuhui(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/shuhui.do',
    data,
    opt,
  });
}

// 撤销
export function chexiaoshuhui(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/chexiaoshuhui.do',
    data,
    opt,
  });
}
